package lang

const (
	CHINESE_LANG    = "zh"
	ENGLISH_LANG    = "en"
	SPANISH_LANG    = "es"
	FRANCH_LANG     = "fr"
	PORTUGUESE_LANG = "pt"
)

func GetValidLang(UserLang string) string {
	if UserLang != CHINESE_LANG &&
		UserLang != ENGLISH_LANG &&
		UserLang != SPANISH_LANG &&
		UserLang != FRANCH_LANG &&
		UserLang != PORTUGUESE_LANG {
		return ENGLISH_LANG
	}
	return UserLang
}
